#include <cstdlib>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <iterator>
#include <utility>
using namespace std;

class randsome_number
{
    public:
        randsome_number (int a, int b)
        {
            srand ((unsigned) time (NULL));
            low = a;
            high = b;
        }

        int operator () ()
        {
            return (rand () % (high -low + 1) + low);
        }

    private:
        int low;
        int high;
};
